package com.lcc.lynx.base.system.service;

import com.lcc.lynx.jdbc.IByIdService;
import com.lcc.lynx.base.system.mapper.SysRoleMapper;
import com.lcc.lynx.base.system.pojo.dv.SysRoleDV;

/** 
 * 系统角色服务
 * @auth lcc
 * @date 2025-01-01
 */
public interface SysRoleService extends IByIdService<SysRoleDV>{

	SysRoleMapper getMapper();

    /**
     * 添加角色并关联菜单
     * @param dv
     * @author lcc
     * @date 2024/12/31 14:39
     */
    void addAndMenu(SysRoleDV dv);

    /**
     * 修改角色并关联菜单
     * @param dv
     * @author lcc
     * @date 2024/12/31 15:56
     */
    void updateAndMenu(SysRoleDV dv);

    void updateMenu(SysRoleDV dv);
}